import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { MngReportComponent } from './mng-report/mng-report.component';
import { MngReportDetailComponent } from './mng-report/mng-report-detail/mng-report-detail.component';
import { YearPlanComponent } from './year-plan/year-plan.component';
import { MonthPlanComponent } from './month-plan/month-plan.component';
import { SubYearPlanComponent } from './sub-year-plan/sub-year-plan.component';
import { SubYearPlanAddComponent } from './sub-year-plan/sub-year-plan-add.component';

const routes: Routes = [
    {
        path: '', children: [
            // 水利部
            // {path: 'MWR-dispatch', component: SlbDispatchPlanComponent},
            // {path: 'MWR-dispatch-add', component: SlbDispatchPlanAddComponent},
            // // 黄委会
            // {path: 'hwh-dispatch', component: HwhDispatchPlanComponent},
            // {path: 'hwh-dispatch-add', component: HwhDispatchPlanAddComponent},
            // // 水利厅
            // {path: 'slt-dispatch', component: SltDispatchPlanComponent},
            // {path: 'slt-dispatch-detail', component: SltDispatchPlanDetailComponent},
            // // 管理处
            // {path: 'mng-report', component: MngReportComponent},
            // {path: 'mng-report-detail', component: MngReportDetailComponent},
            // 水利厅年计划 月旬计划
            {path: 'slt-year-plan', component: YearPlanComponent},
            {path: 'slt-month-plan', component: YearPlanComponent},
            // 管理处年计划 月旬计划
            {path: 'year-plan', component: YearPlanComponent},
            {path: 'month-plan', component: MonthPlanComponent},
            // 管理所年计划 月旬计划
            {path: 'sub-year-plan', component: SubYearPlanComponent},
            {path: 'sub-year-plan-add', component: SubYearPlanAddComponent},
            {path: 'sub-month-plan', component: MonthPlanComponent},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class DispatchPlanRoutingModule {
}
